import Header from "@/componets/header";
import { Container } from "./styled";
import ListBox from "@/componets/listBox";
import { useSearchParams, Navigate } from "react-router-dom";
import { problemEnum } from "@/contains/problemEnum";

const List = () => {
  const [searchParams, setSearchParams] = useSearchParams();
  return (
    <Container>
      <Header />
      <ListBox title={searchParams.get("type") as string} />
    </Container>
  );
};

export default List;
